<style>
.layui-table-view {
	margin-top: 0px;
}
.layui-form-label{
    padding: 4px 15px;
}
</style>
<div class="layui-tab layui-tab-card" style="margin: 1px;box-shadow:none;">
  <ul class="layui-tab-title">
    <li class="layui-this">文本</li>
    <li>图片</li>
    <li>视频</li>
    <li>全景</li>
    <li>属性</li>
    <li>网页</li>
   <!--  <li>样式</li> -->
  </ul>
  <div class="layui-tab-content" >
    <div class="layui-tab-item layui-show">
    	<form id="modelFormForBizText" lay-filter="modelFormForBizText" class="layui-form model-form" style="padding:0px;">
			<input name="id" type="hidden" id="bizTextId" value="#(objId)" />
			<input name="objId" type="hidden"  value="#(objId)" />
			<input name="sceneId" type="hidden"  value="#(sceneId)" />
			<input name="event" type="hidden"  value="#(event)" />
			<table class="formTable">
				<tr>
					<td style="text-align: left;">标题</td>
				</tr>			
				<tr>
					<td>
						<input id="name" type="text" name="name" value="#(bizText?bizText.name:'')"  maxlength="50" lay-verType="tips" lay-verify="required" required autocomplete="off" placeholder="请输入标题" value="" class="layui-input" >
					</td>
				</tr>
				<tr>
					<td style="text-align: left;">描述</td>
				</tr>				
				<tr>
					<td>
					      <textarea name="desc" placeholder="添加标注描述，少于400" autocomplete="off" maxlength="400"  class="layui-textarea" style="height: 300px;">#(bizText?bizText.desc:'')</textarea>
					</td>
				</tr>	
				<tr>
					<td>
						<button class="layui-btn layui-btn-sm layui-btn-primary" type="button" ew-event="closeDialog">取消</button>					
						<button class="layui-btn layui-btn-sm" lay-filter="submitFormForBizText" lay-submit>保存</button>
					</td>
				</tr>
			</table>
		</form>	    
    </div>
    <div class="layui-tab-item">
	    <div class="layui-card">
	        <div class="layui-card-body">
	            <div>
	                <button id="uploadBtnForBizPicture" class="layui-btn  icon-btn layui-btn-sm">
	                    <i class="layui-icon">&#xe681;</i>上传图片
	                </button>
	            </div>
	            <table class="layui-table" id="tableBizPicture" lay-filter="tableBizPicture"></table>
	        </div>
	    </div>    
    </div>
    <div class="layui-tab-item">
	    <div class="layui-card">
	        <div class="layui-card-body table-tool-mini">
	            <div class="layui-form toolbar" id="tbToolBar">
	                <div class="layui-form-item">
						<div class="layui-inline">
							<button id="btnAddBizVideo" class="layui-btn icon-btn layui-btn-sm"><i class="layui-icon">&#xe654;</i>添加</button>
						</div>
	                    <div class="layui-inline" style="float: right;margin-right: 0px;">
							<div class="layui-inline" style="padding-right: 0px;margin-right: 0px;height:28px;">
								<label class="layui-form-label w-auto">名称</label>
								<div class="layui-input-inline mr0">
									<input name="name" class="layui-input" type="text" style="height:28px;" placeholder="请输入名称"/>
								</div>
							</div>
							<div class="layui-inline" style="padding-right: 0px;margin-right: 0px;">
								<button class="layui-btn icon-btn layui-btn-sm" lay-filter="formSubSearchBizVideo" lay-submit>
									<i class="layui-icon">&#xe615;</i>查询
								</button>
							</div>					
						</div>
					</div>
					<table class="layui-table" id="tableBizVideo" lay-filter="tableBizVideo" style="margin:0px;"></table>
				</div>
			</div>
		</div>     
    </div>
    <div class="layui-tab-item">
	    <div class="layui-card">
	        <div class="layui-card-body table-tool-mini">
	            <div class="layui-form toolbar" id="tbToolBar">
	                <div class="layui-form-item">
						<div class="layui-inline">
							<button id="btnAddBizPanorama" class="layui-btn icon-btn layui-btn-sm"><i class="layui-icon">&#xe654;</i>添加</button>
						</div>
	                    <div class="layui-inline" style="float: right;margin-right: 0px;">
							<div class="layui-inline" style="padding-right: 0px;margin-right: 0px;height:28px;">
								<label class="layui-form-label w-auto">场景</label>
								<div class="layui-input-inline mr0">
									<input name="name" class="layui-input" type="text" style="height:28px;" placeholder="请输入场景名称"/>
								</div>
							</div>
							<div class="layui-inline" style="padding-right: 0px;margin-right: 0px;">
								<button class="layui-btn icon-btn layui-btn-sm" lay-filter="formSubSearchBizPanorama" lay-submit>
									<i class="layui-icon">&#xe615;</i>查询
								</button>
							</div>					
						</div>
					</div>
					<table class="layui-table" id="tableBizPanorama" lay-filter="tableBizPanorama" style="margin:0px;"></table>
				</div>
			</div>
		</div>     
    </div>
    <div class="layui-tab-item">
	    <div class="layui-card">
	        <div class="layui-card-body table-tool-mini">
	            <div class="layui-form toolbar" id="tbToolBar">
	                <div class="layui-form-item">
						<div class="layui-inline">
							<button id="btnAddBizProperty" class="layui-btn icon-btn layui-btn-sm"><i class="layui-icon">&#xe654;</i>添加</button>
						</div>
	                    <div class="layui-inline" style="float: right;margin-right: 0px;">
							<div class="layui-inline" style="padding-right: 0px;margin-right: 0px;height:28px;">
								<label class="layui-form-label w-auto">场景</label>
								<div class="layui-input-inline mr0">
									<input name="name" class="layui-input" type="text" style="height:28px;" placeholder="请输入场景名称"/>
								</div>
							</div>
							<div class="layui-inline" style="padding-right: 0px;margin-right: 0px;">
								<button class="layui-btn icon-btn layui-btn-sm" lay-filter="formSubSearchBizProperty" lay-submit>
									<i class="layui-icon">&#xe615;</i>查询
								</button>
							</div>					
						</div>
					</div>
					<table class="layui-table" id="tableBizProperty" lay-filter="tableBizProperty" style="margin:0px;"></table>
				</div>
			</div>
		</div>    
    </div>
    <div class="layui-tab-item">
	    <div class="layui-card">
	        <div class="layui-card-body table-tool-mini">
	            <div class="layui-form toolbar" id="tbToolBar">
	                <div class="layui-form-item">
						<div class="layui-inline">
							<button id="btnAddBizPage" class="layui-btn icon-btn layui-btn-sm"><i class="layui-icon">&#xe654;</i>添加</button>
						</div>
	                    <div class="layui-inline" style="float: right;margin-right: 0px;">
							<div class="layui-inline" style="padding-right: 0px;margin-right: 0px;height:28px;">
								<label class="layui-form-label w-auto">场景</label>
								<div class="layui-input-inline mr0">
									<input name="name" class="layui-input" type="text" style="height:28px;" placeholder="请输入场景名称"/>
								</div>
							</div>
							<div class="layui-inline" style="padding-right: 0px;margin-right: 0px;">
								<button class="layui-btn icon-btn layui-btn-sm" lay-filter="formSubSearchBizPage" lay-submit>
									<i class="layui-icon">&#xe615;</i>查询
								</button>
							</div>					
						</div>
					</div>
					<table class="layui-table" id="tableBizPage" lay-filter="tableBizPage" style="margin:0px;"></table>
				</div>
			</div>
		</div>     
    </div>
    <div class="layui-tab-item">
		<div class="layui-card">
			<div class="layui-card-body">
	                <div class="layui-form-item" style="margin-bottom: 0px">
	                    <div class="layui-inline" style="float: right;margin-right: 0px;">
							<div class="layui-inline" style="padding-right: 0px;margin-right: 0px;height:28px;">
								<label class="layui-form-label w-auto">名称</label>
								<div class="layui-input-inline mr0">
									<input name="name" class="layui-input" type="text" autocomplete="off" style="height:28px;" placeholder="请输入样式名称"/>
								</div>
							</div>
							<div class="layui-inline" style="padding-right: 0px;margin-right: 0px;">
								<button class="layui-btn icon-btn layui-btn-sm" lay-filter="formSubSearchBizPointStyle" lay-submit>
									<i class="layui-icon">&#xe615;</i>查询
								</button>
								<button class="layui-btn icon-btn layui-btn-sm" id="selectBizPointStyleBtn">
									<i class="layui-icon">&#xe605;</i>确定
								</button>
							</div>					
						</div>
					</div>
				<table class="layui-table" id="tableStyleBizPoint" lay-filter="tableStyleBizPoint" style="margin:0px;"></table>
			</div>
		</div>   
    </div>
  </div>
</div>


<!-- 表格操作列 -->
<script type="text/html" id="tableBarBizProperty">
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
</script>

<script type="text/html" id="tableBarBizPage">
	<a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="edit">编辑</a>
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
</script>
<!-- 表格操作列 -->
<script type="text/html" id="bizPageForShowTypeScript">
#[[
  {{#  if(d.showType === '0' ){ }}
	弹窗
  {{#  } else if(d.showType === '2' ) { }}
	局部
  {{#  } else { }}
	跳转
  {{#  } }}
]]#
</script>
<script type="text/html" id="tableBarBizPanorama">
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
</script>
<script type="text/html" id="tableBarBizPicture">
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
</script>

<script type="text/html" id="tableBarBizVideo">
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
</script>